﻿<%@ WebHandler Language="C#" Class="getSer" %>

using System;
using System.Web;
using BLL;
public class getSer : IHttpHandler {

	public void ProcessRequest(HttpContext context)
	{
		context.Response.ContentType = "text/plain";
		int id = int.Parse(context.Request.Form.Get("id"));
		var obj = new BllServices().GetSingle(id);
		context.Response.Write(obj.content);
	}
 
    public bool IsReusable {
        get {
            return false;
        }
    }

}